{extend name="../public/header" /}
{block name="body"}
<body>
{include file="../public/common" /}
<div class="layui-form">
	<table class="layui-table" lay-size="sm">
		<thead>
			<tr>
				<th width="100">序列</th>
				<th>表名</th>
				<th width="200">字段数</th>
				<th width="400">注释</th>
				<th width="200">数据量</th>
				<th width="120">管理选项</th>
			</tr>
		</thead>
		<tbody>
			{foreach name="list" item="vo" key="i"}
			<tr>
				<td>{$i+1}</td>
				<td>{$vo.name}</td>
				<td>{$vo.num}</td>
				<td>{$vo.tableComment}</td>
				<td>{$vo.alldata}</td>
				<td>
					<a class='layui-btn layui-btn-sm' href="{:url('backup/structure',array('tablename'=>$vo['name']))}">查看结构</a>
				</td>
			</tr>
			{/foreach}
		</tbody>
	</table>
</div>

</body>
{/block}
{block name="script"}
<script>
layui.use(['jquery','form','layajax','layer'], function(){
	var $ = layui.jquery
		,form = layui.form
		,layer = layui.layer
		,layajax = layui.layajax;

	form.render();
});
</script>
{/block}
